package com.sitech.portal.system.dao.ibatis;

import java.util.HashMap;

import com.sitech.ibnms.core.BaseIbnmsDao;
import com.sitech.portal.system.dao.ISysUserPortalDao;

public class SysUserPortalDaoImpl extends BaseIbnmsDao implements ISysUserPortalDao {

	public HashMap findObjTB_SYS_USER_PORTALByLoginID(String LOGIN_ID) {
			return (HashMap) this.querySingle(
					"findObjTB_SYS_USER_PORTALByLoginID", LOGIN_ID);
	}

	public void deleteUserPortal(String LOGIN_ID) {
			this.delete("deleteForTB_SYS_USER_PORTAL", LOGIN_ID);
	}

	public void add(HashMap map) {
			this.insert("insertForTB_SYS_USER_PORTAL", map);
	}
}
